@extends('admin.main_add')
@section('title', '修改管理员')

@section('content')
    <div class="col-md-12">
        <form method="post" action="/doUpdateAdmin">
            {{--<div style="margin-bottom: 10px;">
                <ul class="nav nav-tabs" role="tablist">
                    <li role="presentation"><a href="/adminManage">管理员管理</a></li>
                    <li role="presentation" class="active"><a href="/addAdmin">新增管理员</a></li>
                </ul>
            </div>--}}
            <input type="text" style="display:none;" name="id" value="{{ $admin->id }}" >
            <div class="form-group">
                <label for="exampleInputEmail1">管理员姓名</label>
                <input type="text" class="form-control"  placeholder="请输入管理员姓名" name="name" value="{{ $admin->name }}">
            </div>


            <div class="form-group">
                <label for="exampleInputEmail1">密码</label>
                <input type="password" class="form-control" placeholder="请输入密码" name="pwd" value="{{ $admin->pwd }}">
            </div>

            <button type="submit" class="btn btn-default">提交保存</button>
        </form>
    </div>

@endsection

@section('script')

@endsection